var server=require('./server');
var requestHanders=require('./requestHanders');

var handle={};
handle['/']=requestHanders.login;
handle['/login']=requestHanders.login;
handle['/registe']=requestHanders.registe;
handle['/upload']=requestHanders.upload;
handle['/chat']=requestHanders.chat;
handle['/enterRoom']=requestHanders.enterRoom;
handle['/comnetPersonsInfo']=requestHanders.comnetPersonsInfo;
handle['/activateOnline']=requestHanders.activateOnline;
handle['/comnetMessageInfo']=requestHanders.comnetMessageInfo;
handle['/sendMessage']=requestHanders.sendMessage;

server.start(handle);